﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace BiblioWeb.Models
{
    [Bind(Exclude = "Id")]
    public class Reserva
    {
        [Key]

        public int IdReserva { get; set; }
        [Required]
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")]
        public DateTime FechaReserva { get; set; }
        public int CantDiasActivo { get; set; }
        [Required]
        public Material Material { get; set; }
        [Required]
        public String UserName { get; set; }

    }
}